Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Removes SBT dependency from core module #633

Merged
merged 2 commits into from
Oct 13, 2017

Conversation

fedefernandez
Copy link
Contributor

@fedefernandez fedefernandez commented Sep 18, 2017

This PR removes the SBT dependency from the core module. The biggest change is that the runnable classes are moved from the core to the plugin, so it can lead some incompatibility issues.

@fedefernandez fedefernandez force-pushed the ff-removes-sbt-dependency-from-core branch from 2555468 to 40d4955 Compare October 11, 2017 15:27
Copy link
Member

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good, however, I've added some comments.

Thanks!

@@ -53,7 +53,7 @@ package object io {

def toPath: Path = get(filename)

def toFile: File = file(filename.fixPath)
def toFile: File = new File(filename.fixPath)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IO.file to be consistent?


object IO {

def file(path: String): File = new File(path)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IO.file

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inception?

writer.close()
}

def relativize(base: File, file: File): Option[String] = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fedefernandez
Copy link
Contributor Author

Thanks for the review. We need to avoid the use of sbt.IO, this is why we can't use it in those files.

@fedefernandez fedefernandez merged commit 771a76e into master Oct 13, 2017
@fedefernandez fedefernandez deleted the ff-removes-sbt-dependency-from-core branch October 13, 2017 10:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants